Skip to main content

scrollbar

Type

object

Summary

A control that indicates a position or setting.

Syntax

scrollbar

Description

Use the scrollbar object type to display the current level or the progress of a task, or to let the user set a level or amount.

A scrollbar can be displayed as a standard scroll bar, a progress bar, or a sliding control, depending on the setting of the scrollbar's style property. Scrollbars can be vertical or horizontal, depending on whether their height or width is greater.

A scrollbar is contained in a card, group, or background. Scrollbars cannot contain other objects.

Examples

set the style of scrollbar "Progress" to progress
if the thumbPosition of scrollbar "Level" > 400 then doOverflow

glossary: property, object type

keyword: templateScrollbar, control

message: scrollbarDrag

object: scrollbar

property: height, width, style

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?